<template>
  <el-tag
    :type="['warning', 'success'][status]"
    v-bind="$attrs"
  >
    {{DictMan.itemMap('payStatus')[status]}}
  </el-tag>
</template>

<script>
export default {
  inheritAttrs: false,
  props: {
    status: {
      type: [String, Number]
    }
  }
}
</script>